import 'package:flutter/material.dart';

class SimpleModel with ChangeNotifier{
  SimpleModel({this.counter = 0});

  int counter = 0;

  Future<void> incrementCounter() async {
    await Future.delayed(Duration(milliseconds: 250));
    counter++;
    print(counter);

    notifyListeners();
  }
}
